package com.itheima.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheim.client.pojo.Dish;
import com.itheim.client.vo.DishVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author longbosheng
 * @Date 2022/6/19 19:53
 * @PackageName:com.itheima.client.mapper
 * @ClassName: DishMapper
 * @Description: TODO
 * @Version 1.0
 */
@Mapper
public interface CDishMapper extends BaseMapper<Dish> {
    @Select("select * from  dish where id = #{id}")
    DishVo selectDishById(String id);
}
